Skip to content

Conversation

@hanmz
Copy link
Contributor

@hanmz hanmz commented May 23, 2025

Motivation

Clipboard_Screenshot_1747985208

This test sometimes blocks at consumer.receive() at line 261. The problem is introduced in this PR #23986. For batch sending scenarios, the current way of creating producers cannot guarantee that all messages are sent out in one batch. Therefore, for batch messages, executing consumer。negativeAcknowledge only once is not enough.

Modifications

By adding batchingMaxPublishDelay when creating the producer, all messages are guaranteed to be sent together.

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label May 23, 2025
@Technoboy- Technoboy- closed this Jul 7, 2025
@Technoboy- Technoboy- reopened this Jul 7, 2025
@codecov-commenter
Copy link

codecov-commenter commented Jul 7, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.74%. Comparing base (bbc6224) to head (e69059f).
⚠️ Report is 1271 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #24342      +/-   ##
============================================
- Coverage     73.57%   72.74%   -0.84%     
+ Complexity    32624    32191     -433     
============================================
  Files          1877     1869       -8     
  Lines        139502   158700   +19198     
  Branches      15299    19957    +4658     
============================================
+ Hits         102638   115443   +12805     
- Misses        28908    33984    +5076     
- Partials       7956     9273    +1317     
Flag Coverage Δ
inttests 28.60% <ø> (+4.02%) ⬆️
systests 24.81% <ø> (+0.48%) ⬆️
unittests 72.05% <ø> (-0.79%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 1090 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-not-needed Your PR changes do not impact docs release/3.0.15 release/4.0.8

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants